← Index
NYTProf Performance Profile   
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:02:29 2013

Filename(eval 1114)[/usr/share/perl/5.10/CGI.pm:869]
StatementsExecuted 20 statements in 100µs
Eval Invoked At/usr/share/perl/5.10/CGI.pm line 869
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
222117µs344µsCGI::::query_stringCGI::query_string
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 344µs (117+227) within CGI::query_string which was called 2 times, avg 172µs/call: # once (62µs+118µs) by CGI::url at line 832 of CGI.pm # once (55µs+109µs) by CGI::url at line 12 of (eval 1109)[CGI.pm:869]
package CGI; sub query_string {
229µs213µs my($self) = self_or_default(@_);
# spent 13µs making 2 calls to CGI::self_or_default, avg 7µs/call
322µs my($param,$value,@pairs);
4213µs264µs for $param ($self->param) {
# spent 64µs making 2 calls to CGI::param, avg 32µs/call
5211µs258µs my($eparam) = escape($param);
# spent 58µs making 2 calls to CGI::Util::escape, avg 29µs/call
6213µs257µs for $value ($self->param($param)) {
# spent 57µs making 2 calls to CGI::param, avg 28µs/call
728µs235µs $value = escape($value);
# spent 35µs making 2 calls to CGI::Util::escape, avg 18µs/call
821µs next unless defined $value;
929µs push(@pairs,"$eparam=$value");
10 }
11 }
12211µs for (keys %{$self->{'.fieldnames'}}) {
13 push(@pairs,".cgifields=".escape("$_"));
14 }
15222µs return join($USE_PARAM_SEMICOLONS ? ';' : '&',@pairs);
16}
17
18;